<template>
  <div>
    <one></one>
  </div>
</template>

<script setup lang="ts">
import { provide, ref } from 'vue';
import one from './one.vue';
const name = ref('大菠萝')
// 向后代传参
provide('name', name)
</script>

<style scoped></style>